#!/data/data/com.termux/files/usr/bin/bash

num=$(ps -ef | grep 'sshd' | grep -v grep | wc -l)
if [ $num -ne 0 ]
then
    kill -9 $(ps -ef | grep sshd | grep -v grep | awk '{print $2}' | sed -e ':a;N;s/\n/ /g;ba')
fi
